<div class="content">
	<table class="table table-bordered table-input" >
		<tbody>
		<tr>
			<td >名称：</td>
			<td>
				<input type="text" ng-model="center.name" form-check="must" form-check-alert="主管单位名称不能为空！" class="form-control">
			</td>
			<td >简称：</td>
			<td><input type="text" ng-model="center.abbreviation" class="form-control">
		</tr>
		<tr>
			<td>编号：</td>
			<td>
				<input type="text" ng-model="center.code" form-check="must" form-check-alert="主管单位编号不能为空！" class="form-control">
			</td>
			<td>邮政编码：</td>
			<td><input type="text" ng-model="center.zip_code" class="form-control" maxlength="6" form-check="must,zipcode" form-check-alert="请填写正确的邮政编码"></td>
		</tr>
		<tr>
			<td>联系人：</td>
			<td>
				<select class="form-control" ng-options="master.id as master.name for master in masterList" ng-model="center.contact" ng-change="findPhone(center.contact)">
					<option value="">==请选择==</option>
				</select>
			</td>
			<td>所属区镇：</td>
			<td>
				<select class="form-control" ng-options="road.id as road.name for road in roadList" ng-model="center.fk_dictionary_town"  form-check="must" form-check-alert="所属区镇不能为空！">
					<option value="">==请选择==</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>联系电话：</td>
			<td><input type="text" ng-model="center.tel" class="form-control"  placeholder="示例：021-88888888" form-check="must,tel" form-check-alert="请输入正确的电话号码"></td>
			<td>电子邮箱：</td>
			<td><input type="text" ng-model="center.email" form-check="must,email" form-check-alert="请填写正确的邮箱！" class="form-control"></td>
		</tr>
		<tr>
			<td>详细地址：</td>
			<td colspan="3"><input ng-model="center.address" class="form-control" type="text"  form-check="must" form-check-alert="详细地址不能为空！"></td>
		</tr>
		<tr>
			<td>传真：</td>
			<td><input ng-model="center.fax" type="text" class="form-control"  placeholder="示例：021-88888888" form-check="tel" form-check-alert="请填写正确的传真"></td>
			<td>区类别码：</td>
			<td>
				<select class="form-control" ng-options="szdlb.id as szdlb.name for szdlb in szdlbList"  ng-model="center.organization_structure">
					<option value="">==请选择==</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>经济属性码：</td>
			<td>
				<select class="form-control" ng-options="nation.id as nation.name for nation in nationList" ng-model="center.nation_code">
					<option value="">==请选择==</option>
				</select>
			</td>
			<td>民族属性：</td>
			<td>
				<select class="form-control" ng-options="nationality.id as nationality.name for nationality in nationalityList" ng-model="center.fk_dictionary_nationality">
					<option value="">==请选择==</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>主页地址：</td>
			<td colspan="3"><input ng-model="center.web_url" type="text"  class="form-control" placeholder="示例：http(https)://www.baidu.com/" form-check="url" form-check-alert="请填写正确的网址！" ></td>
		</tr>
		</tbody>
	</table>
	<div style="width: 100%;text-align: right;margin-top: 20px;">
		<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
		<button ng-click="goback()" type="button" class="btn btn-secondary"><i class="iconfont icon-back"></i>&nbsp;返回</button>
	</div>
</div>